package com.example.network.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import java.io.Serializable;


/**
 * @author tiantian
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserData implements Serializable {

    private static final long serialVersionUID = 756593881423449695L;

        @Id
        @GeneratedValue(strategy = GenerationType.IDENTITY)
        private Integer id;

        private String email;

        private String avatarsPath;

        private String username;
    
        private String sex;
    
        private String birthday;
    
        private String district;
    

}

